<!DOCTYPE html>
<html lang="cn">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>console 控制台</title>
</head>

<body>
    <button id="btn1">点击1</button>
    <script>
        document.write("goat" + "<h1>加粗标题</h1>");
        document.writeln("加油华为");
    </script>


</body>

</html>
<script src="myJs2.js"></script>